package com.cqc.manage.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用于封装JWT中存储的信息
 */

@Builder
@Data
@EqualsAndHashCode(callSuper = false)
public class PayloadDto {

    @ApiModelProperty("主题")
    private String theme;
    @ApiModelProperty("签发时间")
    private Long timeFiled;
    @ApiModelProperty("过期时间")
    private Long expirationTime;
    @ApiModelProperty("JWT ID")
    private String jwtId;
    @ApiModelProperty("用户名")
    private String userName;


}
